package com.exigenservices.alisikh.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.portlet.ModelAndView;

import java.util.HashMap;
import java.util.Map;

@Controller
public class TemplateController {
    @RequestMapping("view")
	public ModelAndView handleRenderRequest() {
		Map<String, Object> model = new HashMap<String, Object>();
		model.put("MessageToJSP", "This is the portlet, which's very cute;)");
		return new ModelAndView("JSPpage", model);
	}
}

